package com.bdqn.membersystem.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.bdqn.membersystem.pojo.UserAccount201404;
import java.util.List;
import com.bdqn.membersystem.mapper.UserAccount201404Mapper;
import com.bdqn.membersystem.service.UserAccount201404Service;
/**
* 作者：姚岳城
* 日期：2020/4/3 16:53
*/

@Service
public class UserAccount201404ServiceImpl implements UserAccount201404Service{

    @Resource
    private UserAccount201404Mapper userAccount201404Mapper;

    @Override
    public int deleteByPrimaryKey(Integer accountId) {
        return userAccount201404Mapper.deleteByPrimaryKey(accountId);
    }

    @Override
    public int insertSelective(UserAccount201404 record) {
        return userAccount201404Mapper.insertSelective(record);
    }

    @Override
    public UserAccount201404 selectByPrimaryKey(Integer accountId) {
        return userAccount201404Mapper.selectByPrimaryKey(accountId);
    }

    @Override
    public int updateByPrimaryKeySelective(UserAccount201404 record) {
        return userAccount201404Mapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateBatch(List<UserAccount201404> list) {
        return userAccount201404Mapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<UserAccount201404> list) {
        return userAccount201404Mapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(UserAccount201404 record) {
        return userAccount201404Mapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(UserAccount201404 record) {
        return userAccount201404Mapper.insertOrUpdateSelective(record);
    }

}
